package com.josework.springhelloworld.model.impl;

import com.josework.springhelloworld.model.Observer;

public class Guardian  implements Observer {
    @Override
    public void notify(String tweet) {
        if (tweet!=null && tweet.contains("queen")){
            System.out.println("Yet another news in London... " + tweet);
        }
    }
}
